:root {
    --blue: #1d4ed8;
    --navy: #1e3a8a;
    --deep: #0f1b4c;
    --ink: #0f172a;
    --muted: #64748b;
    --soft: #94a3b8;
    --line: #e5e7eb;
    --green: #16a34a;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--ink);
}

h1,
h2,
h3,
h4,
.fw-brand {
    font-family: "Plus Jakarta Sans", sans-serif;
}

/* theme bootstrap primary -> blue */
.btn-primary {
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-bg: #1e40af;
    --bs-btn-hover-border-color: #1e40af;
    --bs-btn-active-bg: var(--navy);
    --bs-btn-active-border-color: var(--navy);
    --bs-btn-disabled-bg: #cbd5e1;
    --bs-btn-disabled-border-color: #cbd5e1;
    font-weight: 700;
}

.btn-lg {
    padding: .8rem 1rem;
    border-radius: 12px;
}

.form-control,
.form-select {
    border-radius: 11px;
    padding: .7rem 1rem;
    border-color: #d7dce5;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}

.form-label {
    font-weight: 600;
    font-size: .86rem;
    color: var(--ink);
    margin-bottom: .35rem;
}

/* layout */
.brand-pane {
    position: relative;
    overflow: hidden;
    background: radial-gradient(130% 130% at 20% 0%, #1e3a8a, #1d4ed8 50%, #0f1b4c);
    color: #fff;
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.brand-pane::after {
    content: "";
    position: absolute;
    bottom: -25%;
    right: -10%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, .4), transparent 62%);
    filter: blur(50px);
}

.brand-logo-chip {
    align-self: flex-start;
    background: #fff;
    padding: 9px 14px;
    border-radius: 11px;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.brand-logo-chip img {
    height: 26px;
    display: block;
}

.brand-mid {
    position: relative;
    z-index: 1;
    margin: auto 0;
}

.brand-mid h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.8px;
    margin-bottom: 1.6rem;
}

.brand-mid h2 em {
    font-style: italic;
    color: #bfdbfe;
}

.brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.brand-list li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, .9);
}

.brand-list svg {
    width: 20px;
    height: 20px;
    color: #4ade80;
    flex-shrink: 0;
    margin-top: 2px;
}

.brand-proof {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .8rem;
    color: rgba(255, 255, 255, .85);
    font-size: .86rem;
}

.brand-avs {
    display: flex;
}

.brand-avs span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #1d4ed8;
    margin-left: -8px;
    background: linear-gradient(135deg, #93c5fd, #1d4ed8);
}

.brand-avs span:first-child {
    margin-left: 0;
}

.form-pane {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 4%;
    justify-content: flex-start;
}

.form-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.form-top img {
    height: 28px;
}

.form-card {
    width: 100%;
    max-width: 380px;
    margin: auto 0;
    padding: 16px 0;
}

/* stepper (2 steps) */
.stepper {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.8rem;
}

.stepper .seg {
    flex: 1;
    height: 5px;
    border-radius: 5px;
    background: var(--line);
    transition: background .3s;
}

.stepper .seg.on {
    background: var(--blue);
}

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--soft);
    font-size: .82rem;
    margin: 1.3rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.btn-social {
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 11px;
    padding: .75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
}

.btn-social:hover {
    background: #f8fafc;
}

.btn-social svg {
    width: 19px;
    height: 19px;
}

.hint {
    font-size: .78rem;
    color: var(--muted);
}

.pwrap {
    position: relative;
}

.pwrap .form-control {
    padding-right: 2.6rem;
}

.pwrap .eye {
    position: absolute;
    right: .85rem;
    top: .85rem;
    cursor: pointer;
    color: var(--soft);
    width: 19px;
    height: 19px;
    display: none;
}

.foot-link {
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}

.foot-link a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.legal {
    text-align: center;
    color: var(--soft);
    font-size: .76rem;
    line-height: 1.5;
}

.legal a {
    color: var(--muted);
}

/* OTP ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â fixed size, no overflow */
.otp-wrap {
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    max-width: max-content;
    margin-bottom: 10px !important;
}

.otp-box {
    width: 100%;
    height: 50px;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    padding: 0;
    background: #F8FAFC;
    color: #1E293B;
}

.otp-box:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
    outline: none;
}

.back-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 0;
    margin-bottom: 1rem;
}

.back-btn:hover {
    color: var(--ink);
}

.back-btn svg {
    width: 15px;
    height: 15px;
}

/* phone row: select2 + input */
.phone-row {
    display: flex;
    gap: .5rem;
}

.phone-row .cc-wrap {
    width: 120px;
    flex-shrink: 0;
    /* position: relative; */
}

.select2-container {
    width: 120px!important;
}

.select2-container--bootstrap-5 .select2-selection {
    height: calc(2.4rem + 12px) !important;
    border-radius: 11px;
    border-color: #d7dce5;
    display: flex;
    align-items: center;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
    position: relative;
}

.step {
    display: none;
}

.step.on {
    display: block;
}

.invalid-feedback {
    font-size: .8rem;
}

@media(max-width:991px) {
    .brand-pane {
        display: none;
    }

    .form-top img {
        height: 26px;
    }
}

/* ===== right side compact (~20% smaller) ===== */
.form-card {
    max-width: 400px;
    margin-top: 0;
}

.form-card h1 {
    font-size: 1.45rem;
    text-align: center;
}

.form-card p.text-secondary {
    font-size: .86rem;
    margin-bottom: 1rem !important;
    text-align: center;
}

.form-card .form-label {
    font-size: 12.5px;
    margin-bottom: .22rem;
    color: #334155;
    margin-bottom: 6px;
}

.form-card .form-control,
.form-card .form-select {
    padding: .5rem .75rem;
    font-size: .88rem;
    border-radius: 9px;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #1E293B;
    background: #F8FAFC;
    height: 44px;
}

.form-card .pwrap .form-control {
    padding-right: 2.1rem;
}

.form-card .pwrap .eye {
    top: .62rem;
    width: 17px;
    height: 17px;
}

.form-card .btn-lg {
    padding: .6rem;
    font-size: .92rem;
    border-radius: 9px;
}

.form-card .btn-social {
    padding: .55rem;
    font-size: .88rem;
    border-radius: 9px;
}

.form-card .btn-social svg {
    width: 17px;
    height: 17px;
}

.form-card .divider {
    margin: .95rem 0;
    font-size: .76rem;
}

.form-card .hint {
    font-size: .72rem;
}

.form-card .foot-link {
    font-size: .84rem;
}

.form-card .legal {
    font-size: .7rem;
}

.form-card .mb-3 {
    margin-bottom: .7rem !important;
}

.form-card .mb-4 {
    margin-bottom: .9rem !important;
}

.form-card .mb-2 {
    margin-bottom: 5px !important;
}
.show-pass{
    display:flex;
    align-items:center;
    gap:5px;
    margin-bottom: 2px;
}
.show-pass label{
        font-size: .72rem;
        margin-bottom: 0 !important;
        color: #334155;
        margin-bottom: 6px;
        font-weight: 600;
}
.form-card .stepper {
    margin-bottom: 1.3rem;
}

.select2-container--bootstrap-5 .select2-selection {
    height: calc(1.9rem + 12px) !important;
    font-size: .88rem;
    padding: .5rem .75rem;
    font-size: .88rem;
    border-radius: 9px;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #1E293B;
    background: #F8FAFC;
    height: 44px !important;
}


/* toaser css */

.custom-toast{
    position:fixed;
    right:24px;
    bottom:24px;
    background:#111827;
    color:#fff;
    padding:14px 18px;
    border-radius:14px;
    display:flex;
    align-items:center;
    gap:10px;
    z-index:999999;
    opacity:0;
    transform:translateY(20px);
    transition:.3s;
    font-size:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.custom-toast.show{
    opacity:1;
    transform:translateY(0);
}

.custom-toast i{
    font-size:18px;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted){
color:#fff !important;  
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected .text-muted{
  color:#fff !important;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    padding: 4px 8px !important;
    font-size: 13px !important;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-search{
  padding: 6px 8px !important;
    font-size: 13px !important;
}